package com.woniuxy.happylife.cart.dao;

import com.woniuxy.happylife.entity.MallCart;

import java.util.List;

/**
 * @Title: cartdao
 * @ProjectName: happy-life
 * @Description: TODO
 * @Author: chowinggum
 * @Date: 2022/2/17 16:25
 */
public interface CartDao {

    List<MallCart>findAllCartByUid(int uid);
    //查询购物车中status为1的物品
    List<MallCart>findByFlag(int uid);
    int addcart(MallCart cart);
    int deletecart(int cartId);

}
